ALPHABLENDING AVAILABLE
This command will return an integer value of 1 if the current 3D card supports alphablending.
Return Integer=ALPHABLENDING AVAILABLE()
This command will return a value of 1 if the current 3D card supports alphablending
Alphablending is used to create the effect of 3D semi-transparency used by the GHOST OBJECT command.
backdrop off : cls : sync on : sync rate 0 : hide mouse:cls 0
ObjectNumber=1
load object "models\model.x",ObjectNumber
print "MISC"
print "alphablending available:";alphablending available()
print "filtering available:";filtering available()
print "fog available:";fog available()
print "TnL available:";tnl available()
print "Polys on nscreen:";statistic(1)
while mouseclick()=0
sync
endwhile
while mouseclick()=1:endwhile
delete object ObjectNumber
end
BASIC3D Commands Menu
Index